<?php
require_once $_SERVER['DOCUMENT_ROOT'].'/application/library/Betting_lib.php';

$bet = new Betting_lib();
$bet->insert_test_bid($_POST['product_id'], $_POST['user_id']); //, $_POST['user_id']
?>